This page last changed on May 02, 2011 by vkgan.

By default, Multi Select custom field will only show maximum o 5 rows ( including none) of options, this is not convenient for some users who have more than 20 options in their multi select custom field. Below is the workaround to change the size of the field using simple script.

Thanks Kanishk Choraria for this workaround.

The Steps

  1. In Custom fields screen, click on Edit of the custom field.
  2. Refer to ?id= for the custom field ID, for example http://localhost:8080/secure/admin/EditCustomField!default.jspa?id=10200
  3. Add the ID to script below:
    <script type="text/javascript">
    mselectbox = document.getElementsByName('customfield_10200');
    mselectbox[0].setAttribute("size", "20");
    </script>
  4. In example above, the size of multi select field will be expand to 20 rows
  5. Put the script above to Description of custom field and update.
Document generated by Confluence on Aug 18, 2011 23:28